//
//  HomeCell.swift
//  swfitTest
//
//  Created by hncy on 2022/7/6.
//

import Foundation
import UIKit

class HomeCell: UITableViewCell {
    let kScreenWidth = UIScreen.main.bounds.width
    let kScreenHeight = UIScreen.main.bounds.height
    
    var titleLab:UILabel!
    var contentText:UITextView!
    
    override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
        super.init(style: style, reuseIdentifier: reuseIdentifier)
        setUi()
    }
    
    required init?(coder: NSCoder) {
        super.init(coder: coder)
    }
    
    func setUi() {
        self.titleLab = UILabel.init(frame: CGRect(x: 15, y: 0, width: kScreenWidth-30, height: 50))
        self.titleLab.text = "asdfkljas"
        self.titleLab.numberOfLines = 0
        self.addSubview(self.titleLab)
    }
    
}
